<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>
    
</head>

<body>
    <div>
        <form method="get">
            <input type="text" name="username" placeholder="">
            <input type="text" name="age" placeholder="">
        </form>
    </div>
    <div class="xpager-container">
    </div>
    <script src="./xpager.js"></script>
    <script>
    // use demo
    const options = {
        total: 110,
        totalPages: 10,
        currentPage: 1,
        showGoto: true,
        goto: '',
        // theme:'#ff5722',
    };
    new xpager(document.querySelector('.xpager-container'), options);
    </script>
</body>

</html>